using ODX.Core;

namespace AddressBook
{
    [Table]
    public class Item : Entity
    {
        public string Name
        {
            get { return Cast.ToString(GetProperty("Name")); }
            set { SetProperty("Name", value); }
        }

        public string EMail
        {
            get { return Cast.ToString(GetProperty("EMail")); }
            set { SetProperty("EMail", value); }
        }
    }
}
